<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2019/1/14
 * Time: 18:10
 */

namespace app\modules\state;


class ShippingOrder extends StateOrder
{
    public function __construct()
    {
        $this->setStatus('shipping');
    }

    /**
     * className
     *
     * @date   2019/1/14
     * @author edmmss
     * @return mixed
     */
    protected function done()
    {
        // TODO: Implement done() method.
        $this->setStatus('completed');
    }
}